package test.study03;

public class Study03 {

    public static void main(String[] args) {

    }

    //判断是否是回文字符串
    public static boolean isLongestPalindrome(String s){
        int len = s.length();
        for (int i = 0; i < len/2; i++){
            if (s.charAt(i) != s.charAt(len - i - 1)){
                return false;
            }
        }
        return true;
    }
}
